<?php

use Illuminate\Database\Seeder;

class BookChaptersTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {


        \DB::table('book_chapters')->delete();

        \DB::table('book_chapters')->insert(array(
            0 =>
                array(
                    'id' => 1,
                    'book_id' => 1,
                    'name' => '天才是如何练成的！',
                    'description' => '讲述一个天才的成长之路',
                    'content' => '这里是内容yyds',
                    'sort' => '1',
                    'imgs' => NULL,
                    'videos' => NULL,
                    'status' => '2',
                    'created_at' => '2022-07-20 19:52:40',
                    'updated_at' => '2022-07-20 19:52:40',
                ),
            1 =>
                array(
                    'id' => 2,
                    'book_id' => 1,
                    'name' => '疯子是如何练成的',
                    'description' => '讲述一个疯子是如何练成的',
                    'content' => '这里是内容yyds',
                    'sort' => '2',
                    'imgs' => NULL,
                    'videos' => NULL,
                    'status' => '2',
                    'created_at' => '2022-07-20 19:53:33',
                    'updated_at' => '2022-07-20 19:53:33',
                ),
            2 =>
                array(
                    'id' => 3,
                    'book_id' => 2,
                    'name' => '这里是章节名称',
                    'description' => '这里是章节简介',
                    'content' => '这里是章节内容yyds',
                    'sort' => '1',
                    'imgs' => NULL,
                    'videos' => NULL,
                    'status' => '2',
                    'created_at' => '2022-07-20 19:54:12',
                    'updated_at' => '2022-07-20 19:54:12',
                ),
            3 =>
                array(
                    'id' => 4,
                    'book_id' => 2,
                    'name' => '这里是章节名称2',
                    'description' => '这里是章节简介2',
                    'content' => '内容yyds',
                    'sort' => '2',
                    'imgs' => NULL,
                    'videos' => NULL,
                    'status' => '2',
                    'created_at' => '2022-07-20 19:54:46',
                    'updated_at' => '2022-07-20 19:54:46',
                ),
        ));


    }
}
